package com.ysd.entity;

import java.util.Date;

public class User {
	private Integer userId;
	private String userName;
	private String password;
	private Date birthday;
	private String protectEmail;
	private Integer protectMTel;
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getProtectEmail() {
		return protectEmail;
	}
	public void setProtectEmail(String protectEmail) {
		this.protectEmail = protectEmail;
	}
	public Integer getProtectMTel() {
		return protectMTel;
	}
	public void setProtectMTel(Integer protectMTel) {
		this.protectMTel = protectMTel;
	}
	public User(Integer userId, String userName, String password, Date birthday, String protectEmail,
			Integer protectMTel) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.password = password;
		this.birthday = birthday;
		this.protectEmail = protectEmail;
		this.protectMTel = protectMTel;
	}
	public User() {
		super();
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", password=" + password + ", birthday=" + birthday
				+ ", protectEmail=" + protectEmail + ", protectMTel=" + protectMTel + "]";
	}
	
}
